package com.uplift.mgt.building.service;

import com.uplift.common.base.ServiceReslut;
import com.uplift.mgt.building.model.BuildingModel;
import com.uplift.mgt.building.model.RealtyAdModel;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

public interface IRealtyAdService {
	public List<Map<String, Object>> queryRealtyAd(RealtyAdModel realtyAdModel);

	@Transactional
	public ServiceReslut addRealtyAd(RealtyAdModel realtyAdModel) throws Exception;

	@Transactional
	public ServiceReslut updateRealtyAd(RealtyAdModel realtyAdModel) throws Exception;

	@Transactional
	public ServiceReslut deleteRealtyAd(RealtyAdModel realtyAdModel);
}
